fb18ab022579d713f1d5c7af6b65712af05a747e,src/org/openstreetmap/josm/data/validation/tests/DuplicateNode.java,NodeHash,getLatLon,#Object#,54

Before Change


                return RoundCoord((Node) o);
            } else if (o instanceof List<?>) {
                if (precision==0)
                    return ((List<Node>) o).get(0).getCoor().getRoundedToOsmPrecision();
                return RoundCoord(((List<Node>) o).get(0));
            } else
                throw new AssertionError();

After Change


                    return coor.getRoundedToOsmPrecision();
                return roundCoord(coor);
            } else if (o instanceof List<?>) {
                LatLon coor = ((List<Node>) o).get(0).getCoor();
                if (coor == null)
                    return null;
                if (precision==0)
                    return coor.getRoundedToOsmPrecision();